import $http from '@/utils/http'

//新增投诉
export async function addComplaintApi(param){
    return await $http.post("/gpspoint",param);
}

//编辑投诉
export async function editComplaintApi(param){
    return await $http.put("/gpspoint",param);
}